<script setup>
import {useRouter}from 'vue-router'
import router from '../router';
const Router=useRouter()
const jump=()=>{
  Router.replace('./about')
}
</script>

<template>
  <main>
<h1>我是个人主页</h1>
<button @click="jump">跳转</button>
  </main>
</template>